package BridegePatternDemo;
public class Main {
    public static void main(String[] args) {
        IColor inkShade = new Yellow();
        PenBase penType = new MidPen(inkShade);
        penType.draw();
        System.out.println("*************************************************************");
        inkShade = new Pink();
        penType = new BigPen(inkShade);
        penType.draw();
        System.out.println("*************************************************************");
        inkShade = new Blue();
        penType = new SmallPen(inkShade);
        penType.draw();
    }
}